<template>
  <div id="app">
    <div class="body">
      <router-view />
    </div>

    <div class="nav">
      <router-link to="/films">电影</router-link>
      <router-link to="/cinemas">影院</router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: "App",
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}

html,
body,
#app {
  height: 100%;
}

#app {
  display: flex;
  flex-direction: column;
}

.body {
  flex: 1;
  overflow: hidden;
  background-color: red;
}
</style>
